#ifndef Electromagnetism_H
#define Electromagnetism_H
//extern char Ring_Flag,Stopcar_Flag,Cross_Flag,Circuit_Flag,Obstacle_Flag,Ramp_Change,Ramp_Flag;
//extern float Obstacle_ad,Obstacle_Roll,Obstacle_Roll_Now;
//extern int Obstacle_Roll_count;

#define left_0_max 3500
#define left_45_max 3500
#define middle_0_max 3500
#define right_45_max 3500
#define right_0_max 3500

void ad_init(void);
void ad_filt(void);
void ad_normal(void);
void Obstacle_L(void);
void Obstacle_R(void);
void Big_Ramp(void);
void Small_Ramp(void);
void ad_voltage(void);
#endif
